From 0ad379565d4295b1aa4377b0f126b8043304c009 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 27 Mar 2007 18:50:53 +0000 Subject: [PATCH] Fix error message text on invalid longitude. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2712 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/waypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/waypt.c b/gpsbabel/waypt.c index bc076ff26..7c8f40487 100644 --- a/gpsbabel/waypt.c +++ b/gpsbabel/waypt.c @@ -99,7 +99,7 @@ waypt_add(waypoint *wpt) if ((wpt->latitude < -90) || (wpt->latitude > 90.0)) fatal ("Invalid latitude %f in waypoint.\n", wpt->latitude); if ((wpt->longitude < -180) || (wpt->longitude > 180.0)) - fatal ("Invalid longitude %f in waypoint.\n", wpt->latitude); + fatal ("Invalid longitude %f in waypoint.\n", wpt->longitude); /* * Some input may not have one or more of these types so we -- 2.30.2